package com.kk.xhr.admin.controller.request;

import com.kk.xhr.common.pojo.WorkCompensateTypeEnum;
import com.kk.xhr.common.pojo.WorkOvertimeTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 加班添加request
 *
 * @author luokexiong
 * @version 1.0 2021/2/18
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WorkOvertimeAddRequest {
    @ApiModelProperty(value = "开始时间戳", notes = "真实开始时间根据具体签到时间核算", example = "12312313")
    private Long begin;
    @ApiModelProperty(value = "结束时间戳", notes = "真实开始时间根据具体签到时间核算", example = "12312313")
    private Long end;
    @ApiModelProperty(value = "加班时长", example = "8.0")
    private Float duration;
    @ApiModelProperty(value = "加班类型", example = "PAID")
    private WorkOvertimeTypeEnum type;
    @ApiModelProperty(value = "补偿方式", example = "PAID_HOLIDAY")
    private WorkCompensateTypeEnum compensateType;
    @ApiModelProperty(value = "加班原因", example = "赶项目")
    private String reason;
}
